Microsoft Azure AI-102 PRACTICE QUESTIONS
Q1.
Which Computer Vision client library used to analyze image description?
Q2.
Which Computer Vision client library used to analyze image tags?
Q3.
How to read a file from local file system?
Q4.
Which Azure Service is best suited for analyzing visual content in images & videos to categorize content?
Q5.
Which of the following best describes the predictions made by a machine learning model?
Q6.
To enhance security, which of the following steps should be taken to protect account keys for azure AI Services?
Q7.
You want to index a collection of text documents, and search them from a mobile application. Which service should you use to create the index?
Q8.
A data scientist has used Azure Machine Learning to train a machine learning model. How can you use the model in your application?
Q9.
When configuring diagnostic logging for Azure AI Services, which of below actions are necessary?
Q10.
You build a bot by using the Microsoft Bot Framework SDK and start it on a local computer. You need to validate the functionality of the bot. What should you do before you connect to the bot?
Q11.
Which Azure Service provides capability to understand human language,sentiment analysis, and language translation?
Q12.
You are building a web app named WebApp1 by using the Azure OpenAI SDK. You need to configure WebApp1 to connect with OpenAI model named Model1. What information you must provide?
Q13.
When designing a system to provide personalized recommendations, which service would be most appropriate?
Q14.
You are building a solution in Azure that will use Azure Cognitive Service for Language to process sensitive customer data. You need to ensure that only specific Azure processes can access the Language service. The solution must minimize administrative effort. What should you include in the solution?
Q15.
When planning for a solution in compliance with Responsible AI principles, which of the following factors should be considered?
Q16.
Which of following steps are crucial when creating Azure AI Resource?
Q17.
You plan to perform predictive maintenance.You collect IoT sensor data from 100 industrial machines for a year. Each machine has 50 different sensors that generate data at one-minute intervals. In total, you have 5,000 time series datasets.You need to identify unusual values in each time series to help predict machinery failures.Which Azure service should you use?
Q18.
How are client applications typically granted access to an Azure AI Services endpoint?
Q19.
In which format are message exchanged between a client app and an Azure AI Services resource when using a REST API?
Q20.
You have been assigned the task of using the face service in Azure to identify the gender and age of individuals in a particular dataset. You have created a FaceClient object to achieve this and plan to use the Face client library in C#. You must determine the method to call to find the rectangular face coordinates or locations. Which method would you choose?
Q21.
You plan to deploy a containerized version of an Azure Cognitive Services that will be used for sentiment analysis.You configure https://contoso.cognitiveservices.azure.com as the endpoint URI for the service.You need to run the container on an Azure virtual machine by using Docker.How should you complete Line2 of below command -
docker run -- rm -it -p 5000: 5000 --memory 8g --cpus 1 \
_______________________________________________________ \ # Line2
Eula=__________________________________________________ \ # Line3
Billing= ______________________________________________ \ # Line4
ApiKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Q22.
You plan to deploy a containerized version of an Azure Cognitive Services that will be used for sentiment analysis.You configure https://contoso.cognitiveservices.azure.com as the endpoint URI for the service.You need to run the container on an Azure virtual machine by using Docker.How should you complete Line3 of below command -
docker run -- rm -it -p 5000: 5000 --memory 8g --cpus 1 \
_______________________________________________________ \ # Line2
Eula=__________________________________________________ \ # Line3
Billing= ______________________________________________ \ # Line4
ApiKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Q23.
You plan to deploy a containerized version of an Azure Cognitive Services that will be used for sentiment analysis.You configure https://contoso.cognitiveservices.azure.com as the endpoint URI for the service.You need to run the container on an Azure virtual machine by using Docker.How should you complete Line4 of below command -
docker run -- rm -it -p 5000: 5000 --memory 8g --cpus 1 \
_______________________________________________________ \ # Line2
Eula=__________________________________________________ \ # Line3
Billing= ______________________________________________ \ # Line4
ApiKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Q24.
When running code on your computer that connects to Azure AI Services, you receive an error that access is denied due to Virtual Network/Firewall rules. What configuration do you need to set in the Azure AI Services instance?
Q25.
You plan to deploy an Azure OpenAI resource by using an Azure Resource Manager (ARM) template.You need to ensure that the resource can respond to 600 requests per minute.How should you complete the template?(Choose two)
{
"type": "Microsoft.CognitiveServices/accounts/deployments",
"apiVersion": "2023-05-01",
"name": "arm-aoai-sample-resource/arm-je-std-deployment",
"dependsOn": [
"[resourceld('Microsoft.CognitiveServices/accounts',
'arm-aoai-sample-resource')]"
],
"sku":{
"name": "Standard",
"_________"(Key1): "_______"(Value1)
},
"properties": {
"model": {
"format": "OpenAI",
....
}
Q26.
You need to regenerate the primary subscription key for an Azure AI Services resource that an app uses. What should you do first to minimize service interruption for the app?
Q27.
You are viewing a metric for your Azure AI Services resource in a chart. You want to combine the chart with visualizations of other resources and data. What should you do?
Q28.
You are building a solution that will detect anomalies in sensor data from the previous 24 hours.You need to ensure that the solution scans the entire dataset, at the same time, for anomalies.Which type of detection should you use?
Q29.
You are defining an alert that notifies you when a key regeneration event is recorded in the activity log for your Azure AI Services resource. What should you do?
Q30.
When utilizing the "create compose model" operation within Azure AI Document Intelligence, attempting to create a composed model with unlabeled custom models will result in what outcome?
Q31.
In a multi-turn conversation, which methods would you use to initiate a waterfall dialog, pushing the new instance of the referenced dialog onto the top of the stack? (Select two)
Q32.
You want to implement advanced algorithms for processing images and text to flag potentially offensive, dangerous, or unwanted content. Which Azure AI Service would you use?
Q33.
What technology you should use to control pronunciation & volume of speech in text-to-speech conversion ?
Q34.
You are currently using the Azure Speech service to convert text to speech. The prerequisites have been met, including installing the Speech SDK and including the required packages. Your task is to configure the SpeechSynthesizer for three different use cases:
Use Case 1: Output audio to a wav file
Use Case 2: Output audio to a speaker
Use Case 3: Output audio as an in-memory stream
You configure four variables to meet the requirements per use case.
Var 1: using var synthesizer = new SpeechSynthesizer(speechConfig, null);
Var 2: using var synthesizer = new SpeechSynthesizer(null, audioConfig):
Var 3: using var synthesizer = new SpeechSynthesizer(speechConfig, audioConfig)
Var 4: using var synthesizer = new SpeechSynthesizer(speechConfig);
Take a moment to review each use case and map them to the corresponding variables to meet the objective.
Q35.
In your organizational application, you have navigation options for various functions across different screens. You now need to achieve a similar objective in your Azure bot application. To do this, you design the conversational flow through a multi-turn conversation that switches context smoothly, providing a seamless experience for the end user. You use the bot framework SDK and dialog libraries to define the flow of conversation.
Which dialog would you use to ask for user input and return a result?
Q36.
You have an Azure subscription that has the following configurations:
- • Subscription ID: 8d3591aa-96b8-4737-ad09-00f9b1ed35ad
- • Tenant ID: 3edfe572-cb54-3ced-ae12-c5c177f39a12
- You plan to create a resource that will perform sentiment analysis and optical character recognition (OCR).
- You need to use an HTTP request to create the resource in the subscription. The solution must use a single key and endpoint. How should you complete the request?
https://management.azure.com/__________________________(Line1)/
resourceGroups/OCRProject/providers/
___________________________(Line2)/accounts/CS1?api-version=2021-10-01
Q37.
You are developing a monitoring system that will analyze engine sensor data, such as rotation speed, angle, temperature, and pressure. The system must generate an alert in response to atypical values. What should you include in the solution?
Q38.
You have an Azure subscription that contains a Language service resource named ta1 and a virtual network named vnet1.
You need to ensure that only resources in vnet1 can access ta1.
What should you configure?
Q39.
You are building an AI solution that will use Sentiment Analysis results from surveys to calculate bonuses for customer service staff.
You need to ensure that the solution meets the Microsoft responsible AI principles.
What should you do?
Q40.
You have a Custom Vision service project that performs object detection. The project uses the General domain for classification and contains a trained model.
You need to export the model for use on a network that is disconnected from the internet.
Which three actions should you perform in sequence?
Q41.
-
- Introductory Info Case study
- This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to
complete each case. However, there may be additional case studies and sections on this exam. You must manage
your time to ensure that you are able to complete all questions included on this exam in the time provided.
- To answer the questions included in a case study, you will need to reference information that is provided in the
case study. Case studies might contain exhibits and other resources that provide more information about the
scenario that is described in the case study. Each question is independent of the other questions in this case study.
- At the end of this case study, a review screen will appear. This screen allows you to review your answers and to
make changes before you move to the next section of the exam. After you begin a new section, you cannot return
to this section.
-
- To start the case study
- To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore
the content of the case study before you answer the questions. Clicking these buttons displays information such
as business requirements, existing environment, and problem statements. If the case study has an All Information
tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you
are ready to answer a question, click the Question button to return to the question.
-
- Overview
- A company named Wide World Importers is developing an e-commerce platform.
- You are working with a solutions architect to design and implement the features of the e-commerce platform. The
platform will use microservices and a serverless environment built on Azure.
- Wide World Importers has a customer base that includes English, Spanish, and Portuguese speakers.
-
- Existing Environment
- 4A. Applications
- Wide World Importers has an App Service plan that contains the web apps shown in the following table.
- i. Product Management: An app used by employees to create and manage products. The app and the expected inputs from the empIoyees are in English.
- ii. Inventory Tracking: An app used by employees to manage inventory when dispatching orders receivin refunds and receivin consignments from suppliers.
- 4B. Azure Resources
- You have the following resources:
- i. An Azure Active Directory (Azure AD) tenant- The tenant supports internal authentication.- All employees belong to a group named AllUsers.- Senior managers belong to a group named LeadershipTeam.
- ii. An Azure Functions resource- A function app posts to Azure Event Grid when stock levels of a product change between OK, Low Stock, and Out
of Stock. The function app uses the
Azure Cosmos DB change feed.
- iii. An Azure Cosmos DB account- The account uses the Core (SQL) API.- The account stores data for the Product Management app and the Inventory Tracking app.
- iv. An Azure Storage account- The account contains blob containers for assets related to products.- The assets include images, videos, and PDFs.
- v. An Azure Cognitive Services resource named wwics
- vi. An Azure Video Analyzer for Media (previously Video Indexer) resource named wwivi
-
- Requirements
- 5A. Business Goals
- Wide World Importers wants to leverage AI technologies to differentiate itself from its competitors.
- 5B. Planned Changes
- Wide World Importers plans to start the following projects:
- I. A product creation project: Help employees create accessible and multilingual product entries, while expediting
product entry creation.
- II. A smart e-commerce project: Implement an Azure Cognitive Search solution to display products for customers to
browse.
- III. A shopping on-the-go project: Build a chatbot that can be integrated into smart speakers to support customers.
- 5C. Business Requirements
- Wide World Importers identifies the following business requirements for all the projects:
- Provide a multilingual customer experience that supports English, Spanish, and Portuguese.
- Whenever possible, scale based on transaction volumes to ensure consistent performance.
- Minimize costs.
- 5D. Governance and Security Requirements
- Wide World Importers identifies the following governance and security requirements:
- Data storage and processing must occur in datacenters located in the United States.
- Azure Cognitive Services must be inaccessible directly from the internet.
- 5E. Accessibility Requirements
- Wide World Importers identifies the following accessibility requirements:
- All images must have relevant alt text.
- All videos must have transcripts that are associated to the video and included in product descriptions.
- Product descriptions, transcripts, and alt text must be available in English, Spanish, and Portuguese.
- 5F. Product Creation Requirements
- Wide World Importers identifies the following requirements for improving the Product Management app:
- Minimize how long it takes for employees to create products and add assets.
- Remove the need for manual translations.
- 5G. Smart E-Commerce Requirements
- Wide World Importers identifies the following requirements for the smart e-commerce project:
- Ensure that the Cognitive Search solution meets a Service Level Agreement (SLA) of 99.9% availability for
searches and index writes.
- Provide users with the ability to search insight gained from the images, manuals, and videos associated with the
products.
- Support autocompletion and suggestion based on all product name variants.
- Store all raw insight data that was generated, so the data can be processed later.
- Update the stock level field in the product index immediately upon changes.
- Update the product index hourly.
- 5H. Shopping On-the-Go Requirements
- Wide World Importers identifies the following requirements for the shopping on-the-go chatbot:
- Answer common questions.
- Support interactions in English, Spanish, and Portuguese.
- Replace an existing FAQ process so that all Q&A is managed from a central location.
- Provide all employees with the ability to edit Q&As. Only senior managers must be able to publish updates.
- Support purchases by providing information about relevant products to customers. Product displays must include
images and warnings when stock levels are low or out of stock.
-
- Product JSON Sample
- You have the following JSON sample for a product
"sku": "bit',
" name": {
"en" : "Bicycle"
"es": "Bicicleta"
"pt": "Bicicleta"
},
"stock level": "Out of Stock",
"description":{
"en" : "Bicycle" ,
"es": "Bicicleta",
"pt": "Bicicleta",
},
"image":
{"uri": "https://upload.worldwideimporters.org/bicycle.jpg
"alttext": {
"en" : "Bicycle" ,
es": "Bicicleta" ,
"pt": "Bicicleta",
}
},
"createdUtc": "2024-08-14T06:08:39Z" ,
"language":"en"
- Q. You are developing the shopping on-the-go project.You need to build the Adaptive Card for the chatbot.How should you complete Blank1 for below code?
{
"$schema": "http://adaptivecards.io.schemas/adaptive—card.json"
"type": "AdaptiveCard" ,
"version": "1.3"
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text" : "${______________________(Blank1)}"
},
{
"type": "TextBlock",
____________________(Blank2),
color : Attention
},
{
"type": "Image",
"url": "${image.uri}",
"size": "Medium",
"alText": "${___________(Blank3)}"
}
]
}
- Introductory Info Case study
- This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
- To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
- At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
- To start the case study
- Overview
- Existing Environment
- Requirements
- Product JSON Sample
"sku": "bit',
" name": {
"en" : "Bicycle"
"es": "Bicicleta"
"pt": "Bicicleta"
},
"stock level": "Out of Stock",
"description":{
"en" : "Bicycle" ,
"es": "Bicicleta",
"pt": "Bicicleta",
},
"image":
{"uri": "https://upload.worldwideimporters.org/bicycle.jpg
"alttext": {
"en" : "Bicycle" ,
es": "Bicicleta" ,
"pt": "Bicicleta",
}
},
"createdUtc": "2024-08-14T06:08:39Z" ,
"language":"en"
{
"$schema": "http://adaptivecards.io.schemas/adaptive—card.json"
"type": "AdaptiveCard" ,
"version": "1.3"
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text" : "${______________________(Blank1)}"
},
{
"type": "TextBlock",
____________________(Blank2),
color : Attention
},
{
"type": "Image",
"url": "${image.uri}",
"size": "Medium",
"alText": "${___________(Blank3)}"
}
]
}
Q42.
You are developing the shopping on-the-go project.You need to build the Adaptive Card for the chatbot.How should you complete Blank2 for below code?
{
"$schema": "http://adaptivecards.io.schemas/adaptive—card.json"
"type": "AdaptiveCard" ,
"version": "1.3"
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text" : "${______________________(Blank1)}"
},
{
"type": "TextBlock",
"$when":"______________"(Blank2),
color : Attention
},
{
"type": "Image",
"url": "${image.uri}",
"size": "Medium",
"alText": "${___________(Blank3)}"
}
]
}
Q43.
You are developing the shopping on-the-go project.You need to build the Adaptive Card for the chatbot.How should you complete Blank3 for below code?
{
"$schema": "http://adaptivecards.io.schemas/adaptive—card.json"
"type": "AdaptiveCard" ,
"version": "1.3"
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text" : "${______________________(Blank1)}"
},
{
"type": "TextBlock",
"$when":"______________"(Blank2),
color : Attention
},
{
"type": "Image",
"url": "${image.uri}",
"size": "Medium",
"alText": "${___________(Blank3)}"
}
]
}
Q44.
You are developing the shopping on-the-go project.You are configuring access to the QnA Maker (classic) resources.Which role should you assign to AllUsers?
Q45.
You are developing the shopping on-the-go project.You are configuring access to the QnA Maker (classic) resources.Which role should you assign to LeadershipTeam?
Q46.
You are developing the smart e-commerce project.You need to implement autocompletion as part of the Cognitive Search solution.Which three actions should you perform?
Q47.
You are planning the product creation project.You need to build the REST endpoint to create the multilingual product descriptions.How should you complete Blank1 of below URI?
- ______________________________ (Blank1)/_______________________(Blank2) ? apiversion=3.0&to=es&to=pt
Q48.
You are planning the product creation project.You need to build the REST endpoint to create the multilingual product descriptions.How should you complete Blank2 of below URI?
- ______________________________ (Blank1)/_______________________(Blank2) ? apiversion=3.0&to=es&to=pt
Q49.
You need to develop code to upload images for the product creation project. The solution must meet the accessibility requirements. How should you fill Blank1 of below code?
public static Task async SuggestAltText(ComputerVisionClient client, ________ image) #Blank1
{
List<VisualFeatureTypes?> features = new List <VisualFeatureTypes?>()
{
_____________ #Blank2
};
ImageAnalysis results = await client.AnalyzeImageAsync(image, features);
___________________________ #Blank3
if(c.Confidence>0.5) return(c.Text);
}
Q50.
You need to develop code to upload images for the product creation project. The solution must meet the accessibility requirements. How should you fill Blank2 of below code?
public static Task async SuggestAltText(ComputerVisionClient client, ________ image) #Blank1
{
List<VisualFeatureTypes?> features = new List <VisualFeatureTypes?>()
{
_____________ #Blank2
};
ImageAnalysis results = await client.AnalyzeImageAsync(image, features);
___________________________ #Blank3
if(c.Confidence>0.5) return(c.Text);
}
Q51.
You need to develop code to upload images for the product creation project. The solution must meet the accessibility requirements. How should you fill Blank3 of below code?
public static Task async SuggestAltText(ComputerVisionClient client, ________ image) #Blank1
{
List<VisualFeatureTypes?> features = new List <VisualFeatureTypes?>()
{
_____________ #Blank2
};
ImageAnalysis results = await client.AnalyzeImageAsync(image, features);
___________________________ #Blank3
if(c.Confidence>0.5) return(c.Text);
}
Q52.
You are planning the product creation project.You need to recommend a process for analyzing videos.Which four actions should you perform in sequence?
Q53.
- 1.Overview
- a. General Overview
- Contoso, Ltd. is an international accounting company that has offices in France, Portugal, and the United Kingdom.
- Contoso has a professional services department that contains the roles shown in the following table:

-
- Existing environment
- a. Infrastructure
- Contoso has the following subscriptions:
- i. Azure
- ii. Microsoft 365
- iii. Microsoft Dynamics 365
- iv. Azure Active (Azure AD) Directory
- Contoso has Azure Active Directory groups for securing role-based access. The company uses the following group
- naming conventions:
- i. [Country]-[Level]-[Role]
- ii. [Level]-[Role]
- b. Intellectual Property
- Contoso has the intellectual property shown in the following table

- Text-based content is provided only in one language and is not translated.
-
- Requirements
- a. Planned Projects
- Contoso plans to develop the following:
- i. A document processing workflow to extract information automatically from PDFs and images of financial documents
- ii. A customer-support chatbot that will answer questions by using FAQs
- iii. A searchable knowledgebase of all the intellectual property
- b. Technical Requirements
- Contoso identifies the following technical requirements:
- i. All content must be approved before being published.
- ii. All planned projects must support English, French, and Portuguese.
- iii. All content must be secured by using role-based access control (RBAC).
- iv. RBAC role assignments must use the principle of least privilege.
- v. RBAC roles must be assigned only to Azure Active Directory groups.
- vi. AI solution responses must have a confidence score that is equal to or greater than 70 percent.
- vii. When the response confidence score of an AI response is lower than 70 percent, the response must be improved by human input.
- c. Chatbot Requirements
- Contoso identifies the following requirements for the chatbot:
- i. Provide customers with answers to the FAQs.
- ii. Ensure that the customers can chat to a customer service agent.
- iii. Ensure that the members of a group named Management-Accountants can approve the FAQs.
- iv. Ensure that the members of a group named Consultant-Accountants can create and amend the FAQs.
- v. Ensure that the members of a group named the Agent-CustomerServices can browse the FAQs.
- vi. Ensure that access to the customer service agents is managed by using Omnichannel for Customer Service.
- vii. When the response confidence score is low, ensure that the chatbot can provide other response options to the customers.
- d. Document Processing Requirements
- Contoso identifies the following requirements for document processing:
- The document processing solution must be able to process standardized financial documents that have the following characteristics:
- Contain fewer than 20 pages.
- Be formatted as PDF or JPEG files.
- Have a distinct standard for each office.
- The document processing solution must be able to extract tables and text from the financial documents.
- The document processing solution must be able to extract information from receipt images.
- Members of a group named Management-Bookkeeper must define how to extract tables from the financial documents.
- Members of a group named Consultant-Bookkeeper must be able to process the financial documents.
- e. Knowledgebase Requirements
- Contoso identifies the following requirements for the knowledgebase:
- Supports searches for equivalent terms
- Can transcribe jargon with high accuracy
- Can search content in different formats, including video
- Provides relevant links to external resources for further research
- Q. You need to develop an extract solution for the receipt images. The solution must meet the document processing requirements and the technical requirements. You upload the receipt images to the Form Recognizer API for analysis, and the API returns the following JSON.
"documentResults" : [
{
"docType" : "prebuilt : receipt" ,
"pageRange" : [
1,
1
],
"fields": {
"ReceiptType" : {
"type": "string",
"valueString":"Itemized" ,
"confidence" : 0.672
},
"MerchantName" : {
"type": "string",
"valueString" : "Tailwind" ,
"text": "Tailwind" ,
"boundingBox" : [],
"page" : 1,
"confidence" : 0.913,
"elements": [
"#/readResults/0/lines/0/words/0"
]
},

- Existing environment

- Requirements
"documentResults" : [
{
"docType" : "prebuilt : receipt" ,
"pageRange" : [
1,
1
],
"fields": {
"ReceiptType" : {
"type": "string",
"valueString":"Itemized" ,
"confidence" : 0.672
},
"MerchantName" : {
"type": "string",
"valueString" : "Tailwind" ,
"text": "Tailwind" ,
"boundingBox" : [],
"page" : 1,
"confidence" : 0.913,
"elements": [
"#/readResults/0/lines/0/words/0"
]
},
Which expression should you use to trigger a manual review of the extracted information by a member of the Consultant-Bookkeeper group?
Q54.
You are developing the knowledgebase by using Azure Cognitive Search.You need to meet the knowledgebase requirements for searching equivalent terms.What should you include in the solution ?
Q55.
You are developing the knowledgebase by using Azure Cognitive Search. You need to process wiki content to meet the technical requirements. What should you include in the solution?
Q56.
You are developing the knowledgebase by using Azure Cognitive Search.You need to build a skill that will be used by indexers.How should you fill in blank for Line1?(Choose 3)
"@odata.type": "#Microsoft.Skills.Text.V3.EntityRecognitionSkill",
"categories" : ["_____","______","______"] #Line1
"defaultLanguageCode" :"en"
"includeTypelessEntities" : true
"minimumPrecision" : 0.7,
"inputs" : [
{
"name": "text",
"source": "/document/ content" }
],
"outputs" : [
{ "name": "persons", "targetName": "people"),
{ "name": "locations", "targetName": "locations"),
{"name": "organizations", "targetName": "organizations"),
{"name": "________"} #Line2
Q57.
You are developing the knowledgebase by using Azure Cognitive Search.You need to build a skill that will be used by indexers.How should you fill in blank for Line2?
"@odata.type": "#Microsoft.Skills.Text.V3.EntityRecognitionSkill",
"categories" : ["_____","______","______"] #Line1
"defaultLanguageCode" :"en"
"includeType1essEntities" : true
"minimumPrecision" : 0.7,
"inputs" : [
{
"name": "text",
"source": "/document/ content" }
],
"outputs" : [
{ "name": "persons", "targetName": "people"),
{ "name": "locations", "targetName": "locations"),
{"name": "organizations", "targetName": "organizations"),
{"name": "________"} #Line2
Q58.
You are developing the document processing workflow. You need to identify which API endpoints to use to extract text from the financial documents. The solution must meet the document processing requirements. Which two API endpoints should you identify?
Q59.
You are developing a solution for the Management-Bookkeepers group to meet the document processing requirements. The solution must contain a Form Recognizer resource and an Azure web app that hosts the Form Recognizer sample labeling tool. The Management-Bookkeepers group needs to create a custom table extractor by using the sample labeling tool. Which three actions should the Management-Bookkeepers group perform in sequence?
Q60.
You are developing the knowledgebase.You use Azure Video indexer (previously Video Analyzer for Media ) to obtain transcripts of webinars.You need to ensure that the solution meets the knowledgebase requirements.What should you do?
Q61.
- In Azure OpenAI Studio, you are prototyping a chatbot by using Chat playground.
- You need to configure the chatbot to meet the following requirements:
- • Reduce the repetition of words in conversations.
- Which parameter should you modify?


Q62.
- In Azure OpenAI Studio, you are prototyping a chatbot by using Chat playground.
- You need to configure the chatbot to meet the following requirements:
- • Reduce the randomness of each response.
- Which parameter should you modify?


Q63.
What does RAG with Azure OpenAI enable developers to do?
Q64.
You have an Azure subscription. You need to build an app that will compare documents for semantic similarity. The solution must meet the following requirements:
- a. Return numeric vectors that represent the tokens of each document.
- b. Minimize development effort.
- Which Azure OpenAI model should you use?
Q65.
What are some recommended prompt engineering techniques when using RAG with Azure OpenAI on your own data?
Q66.
What Azure OpenAI base model can you deploy to access the capabilities of ChatGPT?
Q67.
You have an Azure subscription that is linked to a Microsoft Entra tenant. The subscription ID is x1xx11x1-x111-xxxx-xxxx-x1111xxx11x1 and the tenant ID is 1y1y1yyy-1y1y-y1y1-yy11-y1y1y11111y1. The subscription contains an Azure OpenAI resource named OpenAI1 that has a primary API key of 1111a111a11a111aaa11a1a1a11a11aa. OpenAI1 has a deployment named embeddings1 that uses the text-embedding-ada-002 model. You need to query OpenAI1 and retrieve embeddings for text input. How should you complete Blank 1 of the code?
Uri endpoint = new Uri("https://openai.openai.azure.com");
AzureKeyCredential credentials = new AzureKeyCredential(" ______________"); // Blank1
OpenAIClient openAIClient = new (endpoint, credentials);
EmbeddingsOptions embeddingsOptions = new EmbeddingsOptions(input_text_string);
var returnValue = openAIClient.GetEmbeddings("___________", embeddingsOptions); // Blank2
foreach (float item in returnValue.Value.Data[0].Embedding)
{
Console.WriteLine(item);
}
Q68.
You have an Azure subscription that is linked to a Microsoft Entra tenant. The subscription ID is x1xx11x1-x111-xxxx-xxxx-x1111xxx11x1 and the tenant ID is 1y1y1yyy-1y1y-y1y1-yy11-y1y1y11111y1. The subscription contains an Azure OpenAI resource named OpenAI1 that has a primary API key of 1111a111a11a111aaa11a1a1a11a11aa. OpenAI1 has a deployment named embeddings1 that uses the text-embedding-ada-002 model. You need to query OpenAI1 and retrieve embeddings for text input. How should you complete Blank2 of below the code?
Uri endpoint = new Uri("https://openai.openai.azure.com");
AzureKeyCredential credentials = new AzureKeyCredential("______________"); // Blank1
OpenAIClient openAIClient = new (endpoint, credentials);
EmbeddingsOptions embeddingsOptions = new EmbeddingsOptions(input_text_string);
var returnValue = openAIClient.GetEmbeddings("___________", embeddingsOptions); // Blank2
foreach (float item in returnValue.Value.Data[0].Embedding)
{
Console.WriteLine(item);
}
Q69.
Which Azure AI Studio playground is able to support conversation-in, message-out scenarios?
Q70.
What is the recommended way to add data when using Azure OpenAI on your data?
Q71.
Your company wants to reduce how long it takes for employees to log receipts in expense reports. All the receipts are in English. You need to extract top-level information from the receipts, such as the vendor and the transaction total. The solution must minimize development effort. Which Azure service should you use?
Q72.
You have a file share that contains 5,000 images of scanned invoices.You need to analyze the images. The solution must extract the following data:
- •Invoice items
- •Sales amounts
- •Customer details.
- What should you use?
Q73.
- 1.Overview
- a. General Overview
- Contoso, Ltd. is an international accounting company that has offices in France, Portugal, and the United Kingdom.
- Contoso has a professional services department that contains the roles shown in the following table:

-
- Existing environment
- a. Infrastructure
- Contoso has the following subscriptions:
- i. Azure
- ii. Microsoft 365
- iii. Microsoft Dynamics 365
- iv. Azure Active (Azure AD) Directory
- Contoso has Azure Active Directory groups for securing role-based access. The company uses the following group
- naming conventions:
- i. [Country]-[Level]-[Role]
- ii. [Level]-[Role]
- b. Intellectual Property
- Contoso has the intellectual property shown in the following table

- Text-based content is provided only in one language and is not translated.
-
- Requirements
- a. Planned Projects
- Contoso plans to develop the following:
- i. A document processing workflow to extract information automatically from PDFs and images of financial documents
- ii. A customer-support chatbot that will answer questions by using FAQs
- iii. A searchable knowledgebase of all the intellectual property
- b. Technical Requirements
- Contoso identifies the following technical requirements:
- i. All content must be approved before being published.
- ii. All planned projects must support English, French, and Portuguese.
- iii. All content must be secured by using role-based access control (RBAC).
- iv. RBAC role assignments must use the principle of least privilege.
- v. RBAC roles must be assigned only to Azure Active Directory groups.
- vi. AI solution responses must have a confidence score that is equal to or greater than 70 percent.
- vii. When the response confidence score of an AI response is lower than 70 percent, the response must be improved by human input.
- c. Chatbot Requirements
- Contoso identifies the following requirements for the chatbot:
- i. Provide customers with answers to the FAQs.
- ii. Ensure that the customers can chat to a customer service agent.
- iii. Ensure that the members of a group named Management-Accountants can approve the FAQs.
- iv. Ensure that the members of a group named Consultant-Accountants can create and amend the FAQs.
- v. Ensure that the members of a group named the Agent-CustomerServices can browse the FAQs.
- vi. Ensure that access to the customer service agents is managed by using Omnichannel for Customer Service.
- vii. When the response confidence score is low, ensure that the chatbot can provide other response options to the customers.
- d. Document Processing Requirements
- Contoso identifies the following requirements for document processing:
- The document processing solution must be able to process standardized financial documents that have the following characteristics:
- Contain fewer than 20 pages.
- Be formatted as PDF or JPEG files.
- Have a distinct standard for each office.
- The document processing solution must be able to extract tables and text from the financial documents.
- The document processing solution must be able to extract information from receipt images.
- Members of a group named Management-Bookkeeper must define how to extract tables from the financial documents.
- Members of a group named Consultant-Bookkeeper must be able to process the financial documents.
- e. Knowledgebase Requirements
- Contoso identifies the following requirements for the knowledgebase:
- Supports searches for equivalent terms
- Can transcribe jargon with high accuracy
- Can search content in different formats, including video
- Provides relevant links to external resources for further research
- Question. You are developing the chatbot. You create the following components:
- A. A QnA Maker resource
- B. A chatbot by using the Azure Bot Framework SDK
- You need to integrate the components to meet the chatbot requirements.Which property should you use?

- Existing environment

- Requirements
- A. A QnA Maker resource
- B. A chatbot by using the Azure Bot Framework SDK
- You need to integrate the components to meet the chatbot requirements.Which property should you use?
Q74.
You have a factory that produces food products.You need to build a monitoring solution for staff compliance with personal protective equipment (PPE) requirements. The solution must meet the following requirements-- >
- A. Identify staff who have removed masks or safety glasses.
- B. Perform a compliance check every 15 minutes.
- C. Minimize development effort.
- D. Minimize costs.
- Which service should you use?
Q75.
You have 100 chatbots that each has its own Language Understanding model.Frequently, you must add the same phrases to each model.You need to programmatically update the Language Understanding models to include the new phrases.How should you complete Blank 1 of below code?
var phraselistId = await client.Features.____________ //Blank1
(appId, versionId, new ___________ //Blank2
{
EnabledForAllModels = false,
IsExchangeable = true,
Name = "PL1",
Phrases = "item1, item2, item3, item4, item5"
});
Q76.
You have 100 chatbots that each has its own Language Understanding model.Frequently, you must add the same phrases to each model.You need to programmatically update the Language Understanding models to include the new phrases.How should you complete Blank 2 of below code?
var phraselistId = await client.Features.____________ //Blank1
(appId, versionId, new ___________ //Blank2
{
EnabledForAllModels = false,
IsExchangeable = true,
Name = "PL1",
Phrases = "item1, item2, item3, item4, item5"
});
Q77.
You have a collection of press releases stored as PDF files.You need to extract text from the files.Which service should you use for each task?
Q78.
You have a collection of press releases stored as PDF files.You need to perform sentiment analysis on the text extracted from files.Which service should you use for each task?
Q79.
You have an app named App1 that uses Azure AI Document Intelligence to analyze medical records and provide pharmaceutical dosage recommendations for patients. You send a request to App1 and receive the following response:
{
"status": "succeeded",
"createdDateTime": "2023-09-14T21:01:02Z",
"lastUpdatedDateTime": "2023-09-14T21:01:03Z",
"analyzeResult": {
"apiVersion": "2023-07-31",
"modelId": "prebuilt-healthInsuranceCard.us",
"stringIndexType": "utf16CodeUnit",
"content": "Blood Pressure 118/72",
"pages": [
{
"words": [
{
"content": "Blood",
"polygon": [ ... ],
"confidence": 0.766,
"span": { ... }
},
{
"content": "Pressure",
"polygon": [ ... ],
"confidence": 0.716,
"span": { ... }
},
{
"content": "118/72",
"polygon": [ ... ],
"confidence": 0.761,
"span": { ... }
}
]
}
],
"documents": [
{
"docType": "healthInsuranceCard.us",
"boundingRegions": [ ... ]
}
],
"fields": {},
"confidence": 1,
"spans": [ ... ]
}
}
- Which of the below statements are Correct?
- Statement1: The chosen model is suitable for the intended use case.
- Statement2: The text content was recognized with greater than 70 percent confidence.
- Statement3: The form elements were recognized with greater than 70 percent confidence.
Q80.
You are designing a content management system.You need to ensure that the reading experience is optimized for users who have reduced comprehension and learning differences, such as dyslexia. The solution must minimize development effort.Which Azure service should you include in the solution?
Q81.
You are building an app named App1 that will use Azure AI Document Intelligence to extract the following data from scanned documents:
- •Shipping address
- •Billing address
- •Customer ID
- •Amount due
- •Due date
- •Total tax
- •Subtotal
- You need to identify which model to use for App1. The solution must minimize development effort. Which model should you use?
Q82.
You have an Azure subscription that contains an Azure AI Document Intelligence resource named DI1. You create a PDF document named Test.pdf that contains tabular data.You need to analyze Test.pdf by using DI1. How should you complete blank in Line1 of the command?
curl -v -i POST "{endpoint}/formrecognizer/documentModels/_________________:analyze?api-version=2023-07-31" //Line1
-H "Content-Type: application/json"
-H ______________ : {yourkey}" --data-ascii "{'urlSource': 'test.pdf'}"//Line3
Q83.
You have an Azure subscription that contains an Azure AI Document Intelligence resource named DI1. You create a PDF document named Test.pdf that contains tabular data.You need to analyze Test.pdf by using DI1. How should you complete blank in Line2 of the command?
curl -v -i POST "{endpoint}/formrecognizer/documentModels/_________________:analyze?api-version=2023-07-31" //Line1
-H "Content-Type: application/json"
-H ______________ : {yourkey}" --data-ascii "{'urlSource': 'test.pdf'}"//Line3
Q84.
You have an Azure subscription that contains an Azure AI Document Intelligence resource named DI1. You build an app named App1 that analyzes PDF files for handwritten content by using DI1. You need to ensure that App1 will recognize the handwritten content. How should you complete Blank1 of below code?
Uri fileUri = new Uri("<fileUri>");
AnalyzeDocumentOperation operation = await client.AnalyzeDocumentFromUriAsync(WaitUntil.Completed, "_______", fileUri);
AnalyzeResult result = operation.Value;
foreach (DocumentStyle style in result.Styles)
{
bool isHandwritten = style.IsHandwritten.HasValue && style.IsHandwritten == true;
if (isHandwritten && style.Confidence > _____)
{
Console.WriteLine($"Handwritten content found:");
foreach (DocumentSpan span in style.Spans)
{
// Process each span here
}
}
}
Q85.
You have an Azure subscription that contains an Azure AI Document Intelligence resource named DI1. You build an app named App1 that analyzes PDF files for handwritten content by using DI1. You need to ensure that App1 will recognize the handwritten content. How should you complete Blank2 of below code?
Uri fileUri = new Uri("<fileUri>");
AnalyzeDocumentOperation operation = await client.AnalyzeDocumentFromUriAsync(WaitUntil.Completed, "_______", fileUri);
AnalyzeResult result = operation.Value;
foreach (DocumentStyle style in result.Styles)
{
bool isHandwritten = style.IsHandwritten.HasValue && style.IsHandwritten == true;
if (isHandwritten && style.Confidence > _____)
{
Console.WriteLine($"Handwritten content found:");
foreach (DocumentSpan span in style.Spans)
{
// Process each span here
}
}
}
Q86.
You have an app named App1 that uses a custom Azure AI Document Intelligence model to recognize contract documents. You need to ensure that the model supports an additional contract format. The solution must minimize development effort. What should you do?
Q87.
You are building an app that will process scanned expense claims and extract and label the following data:
- •Merchant information
- •Time of transaction
- •Date of transaction
- •Taxes paid
- •Total cost
- You need to recommend an Azure AI Document Intelligence model for the app. The solution must minimize development effort. What should you use?
Q88.
You have an app that manages feedback. You need to ensure that the app can detect negative comments by using the Sentiment Analysis API in Azure AI Language. The solution must ensure that the managed feedback remains on your company’s internal network. Which three actions should you perform in sequence?
Q89.
You are building a chatbot for a travel agent. The bot will ask users for a destination and must repeat the question until a valid input is received, or the user closes the conversation. Which type of dialog should you use?
Q90.
You have an Azure OpenAI resource named AI1 that hosts three deployments of the GPT-3.5 model. Each deployment is optimized for a unique workload. You plan to deploy three apps. Each app will access AI1 by using the REST API and will use the deployment that was optimized for the app's intended workload. You need to provide each app with access to AI1 and the appropriate deployment. The solution must ensure that only the apps can access AI1. What should you use to provide access to AI1, and what should each app use to connect to its appropriate deployment? (Choose 2)
Q91.
You build a chatbot by using Azure OpenAI Studio. You need to ensure that the responses are more deterministic and less creative. Which two parameters should you configure? (Choose 2)
Q92.
You have an Azure subscription that contains an Azure OpenAI resource. You configure a model that has the following settings:
- Temperature: 1
- Top probabilities: 0.5
- Max response tokens: 100
You ask the model a question and receive the following response:
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "The founders of Microsoft are Bill Gates and Paul Allen. They co-founded the company in 1975.",
"role": "assistant"
}
}
],
"created": 1679014554,
"id": "chatcmpl-6usfn2yyjkbmESe3GajaQR6bDSc01",
"model": "gpt-3.5-turbo-0301",
"object": "chat.completion",
"usage": {
"completion_tokens": 86,
"prompt_tokens": 37,
"total_tokens": 123
}
}
- Which statement is true?
- Statement1: The subscription will be charged 86 tokens for the execution of the session.
- Statement2: The text completion was truncated because the Max response tokens value was exceeded.
Q93.
You have an Azure subscription. The subscription contains an Azure OpenAI resource that hosts a GPT-4 model named Model1 and an app named App1. App1 uses Model1. You need to ensure that App1 will NOT return answers that include hate speech. What should you configure for Model1?
Q94.
You have an Azure subscription. The subscription contains an Azure OpenAI resource that hosts a GPT-3.5 Turbo model named Model1. You configure Model1 to use the following system message: “You are an AI assistant that helps people solve mathematical puzzles. Explain your answers as if the request is by a 4-year-old.” Which type of prompt engineering technique is this an example of?
Q95.
You build a chatbot that uses the Azure OpenAI GPT 3.5 model. You need to improve the quality of the responses from the chatbot. The solution must minimize development effort. What are two ways to achieve the goal? Each correct answer presents a complete solution.
Q96.
You have an Azure subscription that contains an Azure OpenAI resource named AI1. You plan to build an app named App1 that will write press releases by using AI1. You need to deploy an Azure OpenAI model for App1. The solution must minimize development effort. Which three actions should you perform in sequence in Azure OpenAI Studio?
Q97.
You have an Azure subscription that contains an Azure OpenAI resource named AI1. You plan to develop a console app that will answer user questions. You need to call AI1 and output the results to the console. How should you complete Blank1 of the code?
import openai
# Set the API key and base endpoint
openai.api_key = "your-api-key"
openai.api_base = "your-endpoint"
# Create a chat completion
response = ___________________( #Blank1
engine="deployment_name",
prompt= "What is Microsoft Azure?"
)
# Print the response
print(___________________) #Blank2
Q98.
You have an Azure subscription that contains an Azure OpenAI resource named AI1.
You plan to develop a console app that will answer user questions.
You need to call AI1 and output the results to the console.
How should you complete Blank2 of the code?
import openai
# Set the API key and base endpoint
openai.api_key = "your-api-key"
openai.api_base = "your-endpoint"
# Create a chat completion
response = ___________________( #Blank1
engine="deployment_name",
prompt= "What is Microsoft Azure?"
)
# Print the response
print(___________________) #Blank2
Q99.
You have an Azure subscription.
You need to create a new resource that will generate fictional stories in response to user prompts. The solution must ensure that the resource uses a customer-managed key to protect data.
How should you complete Blank1 of the script?
az cognitiveservices account create \
--name myresource \
--resource-group myResourceGroup \
--kind _________ \ #Blank1
--sku S \
--location WestEurope \
--____________ "{\"keySource\": \"Microsoft.KeyVault\", \"keyVaultProperties\": {\"keyName\": \"KeyName\", \"keyVersion\": \"secretVersion\", \"keyVaultUri\": \"https://issue23056kv.vault.azure.net/\"}}" \
--assign-identity \
--encryption "{\"keySource\": \"Microsoft.KeyVault\"}"
Q100.
You have an Azure subscription.
You need to create a new resource that will generate fictional stories in response to user prompts. The solution must ensure that the resource uses a customer-managed key to protect data.
How should you complete Blank2 of the script?
az cognitiveservices account create \
--name myresource \
--resource-group myResourceGroup \
--kind _________ \ #Blank1
--sku S \
--location WestEurope \
--____________ "{\"keySource\": \"Microsoft.KeyVault\", \"keyVaultProperties\": {\"keyName\": \"KeyName\", \"keyVersion\": \"secretVersion\", \"keyVaultUri\": \"https://issue23056kv.vault.azure.net/\"}}" \ #Blank2
--assign-identity \
--encryption "{\"keySource\": \"Microsoft.KeyVault\"}"
Q101.
You have a chatbot that uses Azure OpenAI to generate responses.
You need to upload company data by using the Chat playground. The solution must ensure that the chatbot uses the data to answer user questions.
How should you complete Blank1 of the code?
var options = new ___________________ //Blank1
{
Messages =
{
new ChatMessage(ChatRole.User, "What are the differences between Azure Machine Learning and Azure AI services?")
},
AzureExtensionsOptions = new AzureChatExtensionsOptions
{
Extensions = new List<IAzureChatExtensionConfiguration>
{
new ________________________ //Blank2
{
SearchEndpoint = new Uri(searchEndpoint),
SearchKey = new AzureKeyCredential(searchKey),
IndexName = "searchIndex"
}
}
}
};
Q102.
You have a chatbot that uses Azure OpenAI to generate responses.
You need to upload company data by using the Chat playground. The solution must ensure that the chatbot uses the data to answer user questions.
How should you complete Blank 2 of the code?
var options = new ___________________ //Blank1
{
Messages =
{
new ChatMessage(ChatRole.User, "What are the differences between Azure Machine Learning and Azure AI services?")
},
AzureExtensionsOptions = new AzureChatExtensionsOptions
{
Extensions = new List<IAzureChatExtensionConfiguration>
{
new ________________________ //Blank2
{
SearchEndpoint = new Uri(searchEndpoint),
SearchKey = new AzureKeyCredential(searchKey),
IndexName = "searchIndex"
}
}
};
Q103.
You are building a chatbot. You need to use the Content Moderator service to identify messages that contain sexually explicit language. Which section in the response from the service will contain the category score, and which category will be assigned to the message?
Q104.
You plan to build an app that will generate a list of tags for uploaded images. The app must meet the following requirements:
- • Generate tags in a user's preferred language.
- • Support English, French, and Spanish.
- • Minimize development effort.
You need to build a function that will generate the tags for the app. Which Azure service endpoint should you use?
Q105.
You are building an app that will share user images. You need to configure the app to meet the following requirements:
- • Uploaded images must be scanned and any text must be extracted from the images.
- • Extracted text must be analyzed for the presence of profane language.
- • The solution must minimize development effort. What should you use for text extraction?
Q106.
You are building an app that will share user images. You need to configure the app to meet the following requirements:
- • Uploaded images must be scanned and any text must be extracted from the images.
- • Extracted text must be analyzed for the presence of profane language.
- • The solution must minimize development effort. What should you use for profane language detection?
Q107.
You are developing an app that will use the Decision and Language APIs. You need to provision resources for the app. The solution must ensure that each service is accessed by using a single endpoint and credential. Which type of resource should you create?
Q108.
You are building an internet-based training solution. The solution requires that a user's camera and microphone remain enabled. You need to monitor a video stream of the user and verify that the user is alone and is not collaborating with another user. The solution must minimize development effort. What should you include in the solution?
Q109.
You are building a language learning solution. You need to recommend which Azure services can be used to perform the following tasks:
- • Analyze lesson plans submitted by teachers and extract key fields, such as lesson times and required texts.
- • The solution must minimize development effort.
- Which Azure service should you recommend for above task?
Q110.
You are building a language learning solution. You need to recommend which Azure services can be used to perform the following tasks:
- • Analyze learning content and provide students with pictures that represent commonly used words or phrases in the text.
- • The solution must minimize development effort.
- Which Azure service should you recommend for above task?
Q111.
You are developing a method that uses the Azure AI Vision client library. The method will perform optical character recognition (OCR) in images. The method has the following code.
def read_file_url(computervision_client, url_file):
read_response = computervision_client.read(url_file, raw=True)
read_operation_location = read_response.headers["Operation-Location"]
operation_id = read_operation_location.split("/")[-1]
read_result = computervision_client.get_read_result(operation_id)
for page in read_result.analyze_result.read_results:
for line in page.lines:
print(line.text)
During testing, you discover that the call to the get_read_result
method occurs before the read operation is complete. You need to prevent the get_read_result
method from proceeding until the read operation is complete. Which two actions should you perform?
Q112.
You are building a text-to-speech app that will use a custom neural voice. You need to create an SSML file for the app. The solution must ensure that the voice profile meets the following requirements:
- Expresses a calm tone
- Imitates the voice of a young adult female
How should you complete Blank1 of the code?
<mstts:express-as _______________(Blank1)="YoungAdultFemale" ___________(Blank2)="gentle" styledegree="1">
How can I assist you?
</mstts:express-as>
Q113.
You are building a text-to-speech app that will use a custom neural voice. You need to create an SSML file for the app. The solution must ensure that the voice profile meets the following requirements:
- Expresses a calm tone
- Imitates the voice of a young adult female
How should you complete Blank2 of the code?
<mstts:express-as _______________(Blank1)="YoungAdultFemale" ___________(Blank2)="gentle" styledegree="1">
How can I assist you?
</mstts:express-as>
Q114.
You are developing an app that will use the text-to-speech capability of the Azure AI Speech service. The app will be used in motor vehicles. You need to optimize the quality of the synthesized voice output. Which Speech Synthesis Markup Language (SSML) attribute should you configure?
Q115.
You are developing an app that will use the Azure AI Vision API to analyze an image. You need to configure the request that will be used by the app to identify whether an image is clipart or a line drawing. How should you complete Blank1 of the request?
________ (Blank1)"https://cognitiveservices.azure.com/vision/v3.2/analyze?visualFeatures=________________(Blank2)&details=(string)&language=en"
Q116.
You are developing an app that will use the Azure AI Vision API to analyze an image. You need to configure the request that will be used by the app to identify whether an image is clipart or a line drawing. How should you complete Blank2 of the request?
________ (Blank1)"https://cognitiveservices.azure.com/vision/v3.2/analyze?visualFeatures=________________(Blank2)&details=(string)&language=en"
Q117.
You have the following data sources:
- Finance: On-premises Microsoft SQL Server database
- Sales: Azure Cosmos DB using the Core (SQL) API
- Logs: Azure Table storage
- HR: Azure SQL database
You need to ensure that you can search all the data by using the Azure AI Search REST API. What should you do?
Q118.
You have the following Python method.
def create_resource(resource_name, kind, account_tier, location):
parameters = CognitiveServicesAccount(
sku=Sku(name=account_tier),
kind=kind,
location=location,
properties={}
)
result = cogSvcClient.accounts.create(resource_group_name, resource_name, parameters)
You need to deploy an Azure resource to the East US Azure region. The resource will be used to perform sentiment analysis. How should you call the below method?:
- create_resource("res1","________","________","____")
Q119.
You are developing a new sales system that will process the video and text from a public-facing website. You plan to monitor the sales system to ensure that it provides equitable results regardless of the user's location or background. Which two responsible AI principles provide guidance to meet the monitoring requirements?
NOTE: Each correct selection is worth one point.
Q120.
You have a collection of 50,000 scanned documents that contain text. You plan to make the text available through Azure Cognitive Search. You need to configure an enrichment pipeline to perform optical character recognition (OCR) and text analytics. The solution must minimize costs. What should you attach to the skillset?
Q121.
You need to measure the public perception of your brand on social media by using natural language processing. Which Azure service should you use?
Q122.
You are building a chatbot. You need to use the Content Moderator API to identify aggressive and sexually explicit language. Which two settings should you configure?
Q123.
You granted Reader access to a group of users to allow them to search service operations, such as index management and querying search data. However, users provided feedback that they are unable to perform the intended functions. Which action will you perform to address the concern?
Q124.
You are building a social media extension that will convert text to speech. The solution must meet the following requirements:
- Support messages of up to 400 characters.
- Provide users with multiple voice options.
- Minimize costs.
You create an Azure Cognitive Services resource. Which Speech API endpoint provides users with the available voice options?
Q125.
Under Classification in the Text Moderation API response, what type of value is returned for each category?
Q126.
You plan to use a Language Understanding application named app1 that is deployed to a container. App1 was developed by using a Language Understanding authoring resource named lu1. App1 has the versions shown in the following table.
- | Version | Trained Date | Published Date |
- | V1.2 | None | None |
- | V1.1 | 2020-10-01 | None |
- | V1.0 | 2020-09-01 | 2020-09-15 |
You need to create a container that uses the latest deployable version of app1. Which three actions should you perform in sequence?
Q127.
You need to build a chatbot that meets the following requirements:
- Supports chit-chat, knowledge base, and multilingual models
- Performs sentiment analysis on user messages
- Selects the best language model automatically
What should you integrate into the chatbot?
Q128.
You need to create a new resource that will be used to perform sentiment analysis and optical character recognition (OCR). The solution must meet the following requirements:
- Use a single key and endpoint to access multiple services.
- Consolidate billing for future services that you might use.
- Support the use of Computer Vision in the future.
How should you complete Blank1 of the HTTP request to create the new resource?
___________(Blank1) https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/RG1/providers/Microsoft.CognitiveServices/accounts/CS1?api-version=2022-12-01
{
"location": "West US",
"kind": "____________", //Blank2
"sku": {
"name": "S0"
}
"properties": {},
"identity": {
"type": "SystemAssigned"
}
}
Q129.
You need to create a new resource that will be used to perform sentiment analysis and optical character recognition (OCR). The solution must meet the following requirements:
- • Use a single key and endpoint to access multiple services.
- • Consolidate billing for future services that you might use.
- • Support the use of Computer Vision in the future.
How should you complete Blank2 of the HTTP request to create the new resource?
___________(Blank1) https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/RG1/providers/Microsoft.CognitiveServices/accounts/CS1?api-version=2022-12-01
{
"location": "West US",
"kind": "____________", //Blank2
"sku": {
"name": "S0"
}
"properties": {},
"identity": {
"type": "SystemAssigned"
}
}
Q130.
You successfully run the following HTTP request, where Key2 is the secondary subscription key.
POST https://management.azure.com/subscriptions/18c51a87-3a69-47a8-aedc-a54745f708a1/resourceGroups/RG1/providers/
Microsoft.CognitiveServices/accounts/contoso1/regenerateKey?api-version=2017-04-18
Body {"keyName": "Key2"}
What is the result of the request?